﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CottagesOfHope.Core.Abstract;
using WebMatrix.WebData;

namespace CottagesOfHope.Controllers
{
    public class ProfileController : Controller
    {
        private readonly ICottagesOfHopeRepository _cottagesOfHopeRepository;

        public ProfileController(ICottagesOfHopeRepository cottagesOfHopeRepository)
        {
            _cottagesOfHopeRepository = cottagesOfHopeRepository;
        }
        //
        // GET: /Profile/

        [Authorize(Roles = "Client, Admin")]
        public ActionResult Index(string username)
        {
            //Add the model that holds all the users information and add to the view. 
            return View();
        }

    }
}
